﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace ClientPerformance
{
    [ServiceContract(CallbackContract = typeof(IPeerServiceContract))]
    public interface IPeerServiceContract
    {
        [OperationContract(IsOneWay = true)]
        void SendTrafficPattern(TrafficPatternInfo pattern);

        [OperationContract(IsOneWay = true)]
        void StartTraffic();

        [OperationContract(IsOneWay = true)]
        void StopTraffic();

        [OperationContract(IsOneWay = true)]
        void SendPacket(DataPacket packet);

        [OperationContract(IsOneWay = true)]
        void SendNeighborMessage(NeighborAlertMessage message);


    }
}
